package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.jzapi.examination.pojo.ExaminationsVo;
import com.jinzhi.jzweb.domain.ExaminationBatchDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 考试批次
 * </pre>
 * <small> 2020-02-24 21:00:12 | lance</small>
 */
public interface ExaminationBatchService extends CoreService<ExaminationBatchDO> {

    List<Map<Object,Object>> selByAll();

    ExaminationsVo selExaminations();

    List<ExaminationBatchDO> selExamNowList();
    //查询测试批次
    List<ExaminationsVo> selListExaminationsNowCeshi();
    //获取当天所有的学生考试批次
    List<ExaminationsVo> selListExaminationsNow();
    //获取当天所有的学生考试批次
    List<ExaminationsVo> selListExaminationsComNow();


    Long findByCbatchId(String id);

    Page<Map<Object,Object>> selByNameCbatchId(int current, int number, String name,String cbatchId);


    List<ExaminationBatchDO> selListExamBatch(Map map);

    List<Map<Object,Object>> selTimeAll();

    //获取当天所有的非学生考试批次
    List<ExaminationsVo> selListExaminationsTeachers();

    //获取当天所有的筛选考试批次
    List<ExaminationsVo> selListExaminationsScreen();

    List<Map<Object,Object>> selTimeComAll();
}
